package com.atguigu.acl.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

/**
 * 用户登录参数
 * @author Summerday
 */

@Data
@EqualsAndHashCode(callSuper = false)
public class AdminLoginParam {

    @NotEmpty(message = "用户名不能为空")
    private String username;


    @NotEmpty(message = "密码不能为空")
    private String password;
}
